home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / chptri.z / chptri
Encoding:
Text File  |  2002-10-03  |  3.7 KB  |  133 lines

  1.  
  2.  
  3.  
  4. CCCCHHHHPPPPTTTTRRRRIIII((((3333SSSS))))                                                          CCCCHHHHPPPPTTTTRRRRIIII((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      CHPTRI - compute the inverse of a complex Hermitian indefinite matrix A
  10.      in packed storage using the factorization A = U*D*U**H or A = L*D*L**H
  11.      computed by CHPTRF
  12.  
  13. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  14.      SUBROUTINE CHPTRI( UPLO, N, AP, IPIV, WORK, INFO )
  15.  
  16.          CHARACTER      UPLO
  17.  
  18.          INTEGER        INFO, N
  19.  
  20.          INTEGER        IPIV( * )
  21.  
  22.          COMPLEX        AP( * ), WORK( * )
  23.  
  24. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  25.      These routines are part of the SCSL Scientific Library and can be loaded
  26.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  27.      directs the linker to use the multi-processor version of the library.
  28.  
  29.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  30.      4 bytes (32 bits). Another version of SCSL is available in which integers
  31.      are 8 bytes (64 bits).  This version allows the user access to larger
  32.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  33.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  34.      only one of the two versions; 4-byte integer and 8-byte integer library
  35.      calls cannot be mixed.
  36.  
  37. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  38.      CHPTRI computes the inverse of a complex Hermitian indefinite matrix A in
  39.      packed storage using the factorization A = U*D*U**H or A = L*D*L**H
  40.      computed by CHPTRF.
  41.  
  42. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  43.      UPLO    (input) CHARACTER*1
  44.              Specifies whether the details of the factorization are stored as
  45.              an upper or lower triangular matrix.  = 'U':  Upper triangular,
  46.              form is A = U*D*U**H;
  47.              = 'L':  Lower triangular, form is A = L*D*L**H.
  48.  
  49.      N       (input) INTEGER
  50.              The order of the matrix A.  N >= 0.
  51.  
  52.      AP      (input/output) COMPLEX array, dimension (N*(N+1)/2)
  53.              On entry, the block diagonal matrix D and the multipliers used to
  54.              obtain the factor U or L as computed by CHPTRF, stored as a
  55.              packed triangular matrix.
  56.  
  57.              On exit, if INFO = 0, the (Hermitian) inverse of the original
  58.              matrix, stored as a packed triangular matrix. The j-th column of
  59.              inv(A) is stored in the array AP as follows:  if UPLO = 'U', AP(i
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. CCCCHHHHPPPPTTTTRRRRIIII((((3333SSSS))))                                                          CCCCHHHHPPPPTTTTRRRRIIII((((3333SSSS))))
  71.  
  72.  
  73.  
  74.              + (j-1)*j/2) = inv(A)(i,j) for 1<=i<=j; if UPLO = 'L', AP(i +
  75.              (j-1)*(2n-j)/2) = inv(A)(i,j) for j<=i<=n.
  76.  
  77.      IPIV    (input) INTEGER array, dimension (N)
  78.              Details of the interchanges and the block structure of D as
  79.              determined by CHPTRF.
  80.  
  81.      WORK    (workspace) COMPLEX array, dimension (N)
  82.  
  83.      INFO    (output) INTEGER
  84.              = 0: successful exit
  85.              < 0: if INFO = -i, the i-th argument had an illegal value
  86.              > 0: if INFO = i, D(i,i) = 0; the matrix is singular and its
  87.              inverse could not be computed.
  88.  
  89. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  90.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  91.  
  92.      This man page is available only online.
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.